package org.service.impl;

import java.util.List;

import org.dao.impl.InfoDao;
import org.service.IInfoService;

public class Infoservice implements IInfoService {
	
	public boolean queryorderid(int orderid) {
	  InfoDao infodao = new InfoDao();
	  return infodao.queryOrderidExits(orderid);
	}
	
	public List<String> queryAllWuLiuMessage(int orderid){
		InfoDao infodao = new InfoDao();
		return infodao.queryAllWuLiuMessage(orderid);
	}

	@Override
	public void AddwuliuInfo(int orderid, String info) {
		InfoDao infodao = new InfoDao();
		infodao.AddwuliuInfo(orderid, info);
	}
}
